﻿#ifndef EDITEVENTFRAGMENT_H
#define EDITEVENTFRAGMENT_H

#include "event.h"

#include <QDialog>
#include <QWidget>

namespace Ui {
class EditEventFragment;
}

class EditEventFragment : public QDialog {
    Q_OBJECT

public:
    explicit EditEventFragment(QDialog *parent = nullptr);
    ~EditEventFragment();
    static Event getEvent();
    static Event getEvent(Event);
    bool isImportant();
private slots:
    void on_pushButton_2_clicked();

    void on_pushButton_clicked();

    void on_checkBox_stateChanged(int arg1);

private:
    Ui::EditEventFragment *ui;
    Event event;
    bool important;
};

#endif // EDITEVENTFRAGMENT_H
